<?php
/**
 * Useless String class
 */
class String
{
    /**
     * @var string
     */
    private $_content = '';

    /**
     * @param string $content
     */
    public function __construct($content)
    {
        $this->_content = (string) $content;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this->_content;
    }

    /**
     * @param string $content
     */
    public function setContent($content)
    {
        $this->_content = (string) $content;
    }

    /**
     * @return int
     */
    public function getLength()
    {
        return strlen($this->_content);
    }

    /**
     * @param string $content
     */
    public function concat($content)
    {
        $this->_content .= $content;
    }
}
